package com.project.biz;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.entity.CmsRecoveryMemberRecharge;
import com.project.pojo.dto.RecoveryMemberRechargeDTO;
import com.project.pojo.model.RecoveryMemberRechargeModel;

/**
 * @Description: 回收员充值业务层接口类
 * @Author: zhuchi
 * @CreateDate: 2020/12/5 21:58
 * @Version: 1.0
 */
public interface CmsRecoveryMemberRechargeBiz extends IService<CmsRecoveryMemberRecharge> {

    /**
     * 回收员充值
     * @param recoveryMemberRechargeModel
     * @param userId
     * @return
     */
    RecoveryMemberRechargeDTO addRecoveryMemberRecharge(RecoveryMemberRechargeModel recoveryMemberRechargeModel, Long userId);

    /**
     * 回收员充值成功
     * @param jsonObject
     * @return 0:失败,1:成功,2:已处理过,3:订单不存在
     */
    int updateRecoveryMemberRechargeNotify(JSONObject jsonObject);

}
